<#include "/common/taglibs.ftl" />
<!-- 显示客户端表单验证的结果 -->
<div class="m-alert m-alert--icon alert alert-danger d-none" role="alert" data-role="alert-error">
    <div class="m-alert__icon">
        <i class="la la-warning"></i>
    </div>
    <div class="m-alert__text">
        <@spring.message code="form.validate.error"/>
    </div>
    <div class="m-alert__close">
        <button type="button" class="close" data-close="alert" aria-label="Close">
        </button>
    </div>
</div>

<div class="m-alert m-alert--icon alert alert-primary d-none" role="alert" data-role="alert-success">
    <div class="m-alert__icon">
        <i class="la la-warning"></i>
    </div>
    <div class="m-alert__text">
        <@spring.message code="form.validate.success"/>
    </div>
    <div class="m-alert__close">
        <button type="button" class="close" data-close="alert" aria-label="Close">
        </button>
    </div>
</div>